package com.hbu.search.hbumallsearch.vo;

import lombok.Data;

import java.util.List;

/**
 * @author 90458
 */
@Data
public class SearchParam {

    /**
     * 页面传递过来的全文匹配关键字
     */
    private String keyword;

    /**
     * 3级分类 id
     */
    private Long catalog3Id;

    /**
     *  sort=saleCount_asc/desc  销量
     *  sort= skuPrice_asc/desc  热度分
     *  sort=hostScore_asc/desc  价格
     */
    private String sort;

    /**
     *  过滤条件
     *   hasStock(是否有货)、skuPrice区间、brandId、catalog3Id、attrs
     *   hasStock=0/1
     *   skuPrice=1-500/-500/500-
     */
    private Integer hasStock;
    private String skuPrice;
    private List<Long> brandId;
    // 按照属性进行筛选
    private List<String> attrs;
    private Integer pageNum;
    

}
